home *** CD-ROM | disk | FTP | other *** search
/ Pesquisa Dirigida / Pesquisa Dirigida.iso / JOGOS / buscandoanemo.swf / scripts / frame_27 / DoAction.as
Text File  |  2005-01-17  |  2KB  |  61 lines

  1. gameOn = 1;
  2. restartGame = 0;
  3. turtleLeanAngle = 0;
  4. turtleVX = 0;
  5. turtleVY = 0;
  6. turtleAngleMove = 3;
  7. turtleAngleMax = 25;
  8. turtleAngleVXConv = 0.7;
  9. turtleAngleReturn = 1;
  10. turtleVYMove = 2;
  11. turtleVYMax = 12;
  12. turtleVYReturn = 0.75;
  13. distanceToTunnelForceConv = 0.06;
  14. distanceToTunnelForceConvIncr = 0.00001;
  15. dttfcStart = distanceToTunnelForceConv;
  16. dttfcStop = 0.12;
  17. dttfcCutoff2 = 0.1;
  18. obsticleWaitMin = 35;
  19. obsticleWaitMax = 75;
  20. obsticleWait = obsticleWaitMax;
  21. obsticleWaitCounter = 0;
  22. obsticleWaitDecrement = 5;
  23. powerupWaitMin = 50;
  24. powerupWaitMax = 120;
  25. powerupWait = powerupWaitMax;
  26. powerupWaitCounter = 0;
  27. objectTweenSteps = 65;
  28. objectTweenStepsDecrement = 0.017;
  29. objectTweenStepsMin = 25;
  30. dupeCounter = 0;
  31. dupeCounterMax = 500;
  32. startGameWait = 20;
  33. turtleFlashing = 0;
  34. livesMax = 3;
  35. livesLeft = livesMax;
  36. babyTurtlesCaught = 0;
  37. turtleBoundaryBorder = 0;
  38. turtleBoundaryLeft = - turtleBoundaryBorder;
  39. turtleBoundaryRight = Stage.width + turtleBoundaryBorder;
  40. turtleBoundaryTop = - turtleBoundaryBorder;
  41. turtleBoundaryBottom = Stage.height + turtleBoundaryBorder;
  42. turtleOutOfBoundsCounter = 0;
  43. turtleOutOfBoundsMax = 50;
  44. turtleFallOffVX = 0;
  45. turtleFallOffVY = 0;
  46. scoreLocal = 0;
  47. scorePerTick = 1;
  48. scoreRemovedObsticle = 50;
  49. scorePowerup = 500;
  50. ridingClipWait = 0;
  51. ridingClipWaitMin = 150;
  52. ridingClipWaitMax = 500;
  53. ridingClipWaitCounter = 0;
  54. ridingClipsTotal = 6;
  55. ridingClipLast = 0;
  56. mailer.loadMovie("http://www.disney.go.com/disneypictures/findingnemo/mailer-turtle.swf");
  57. scores.loadMovie("http://www.disney.go.com/disneypictures/findingnemo/turtle-scores.swf");
  58. badWords.loadMovie("disneyBadWords.swf");
  59. centerX = Stage.width / 2;
  60. centerY = Stage.height / 2;
  61.